package com.saikuo.service.vo;

import com.saikuo.service.model.User;

/**
 * Created by shanchangyu on 16/10/14.
 */
public class UserView {
    private int id;
    private String mobile;

    public UserView(User user) {
        this.id = user.getId();
        this.mobile = user.getMobile();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

}
